package net.maku.module.car.convert;

import net.maku.module.car.entity.CarEntity;
import net.maku.module.car.vo.CarVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 业务_车辆
*
* @author    
*/
@Mapper
public interface CarConvert {
    CarConvert INSTANCE = Mappers.getMapper(CarConvert.class);

    CarEntity convert(CarVO vo);

    CarVO convert(CarEntity entity);

    List<CarVO> convertList(List<CarEntity> list);

}